import Vue from 'vue'
import vuex from 'vuex'
Vue.use(vuex)

//个人信息

import modulesUser from './modules/modulesUser'

//首页模块
import modulesIndex from './modules/modulesIndex'

//分类模块
import modulesClassify from './modules/modulesClassify'

//造物圈模块
import modulesCircle from './modules/modulesCircle'

//任务模块
import modulesOrder from './modules/modulesOrder'

//抽奖模块
import modulesLuck from './modules/modulesLuck'

//砍价模块
import modulesCutPrice from './modules/modulesCutPrice'

export default new vuex.Store({
  modules: {
    modulesIndex:modulesIndex,
    modulesUser:modulesUser,
    modulesClassify:modulesClassify,
    modulesCircle:modulesCircle,
    modulesOrder:modulesOrder,
    modulesLuck:modulesLuck,
    modulesCutPrice:modulesCutPrice
  }
})